package cn.com.demo.microservice.consumer.service.feign;

import cn.com.demo.microservice.consumer.service.feign.Impl.EditRoleFeignServiceFactory;
import cn.com.demo.microservice.reps.ResponseObject;
import com.codingapi.txlcn.tc.annotation.LcnTransaction;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@FeignClient(value="${service.editrole.t40.name}", fallbackFactory = EditRoleFeignServiceFactory.class)
public interface IRleFeginService {

    @GetMapping("role/delete/{id}")
    public ResponseObject deleteRole(@PathVariable("id") int id);

}
